package com.company.cloud.user.modules.app.service;

import com.company.cloud.user.constant.UserMsgSendTypeEnum;

public interface UserCodeService {
	
	
	/**验证验证码*/
	public void validate(String companyNo, UserMsgSendTypeEnum sendType,String mobile,String vcode,boolean isOkDel);
	/**验证验证码*/
	public void validate(String vkey, String vcode,boolean isOkDel);
	
	/**删除验证码*/
	public void delVCode(String companyNo, UserMsgSendTypeEnum sendType,String mobile);
	/**删除验证码*/
	public void delVCode(String vkey);
	
	/**发送验证码*/
	public String sendCodeByCompany(String companyNo, UserMsgSendTypeEnum sendType,String mobile);
	
	/**发送验证码平台*/
	public String sendCodeByPlatform(UserMsgSendTypeEnum sendType,String mobile);
	
	/**发送验证码*/
	public String sendCode(String companyNo, UserMsgSendTypeEnum sendType,String mobile,int len,int expireSecond);
}
